package designPattern.singletonPattern;

/**
 * TestAssist1
 *
 * @author nanxin.chen
 * @date 2015/11/3
 */
public class TestAssist2 implements Runnable {
    @Override
    public void run() {
        long start = System.currentTimeMillis();
        for (int i = 0; i < 100000; i++) {
            LazySingleton.getInstance();
        }
        System.out.println("LazySingleton:" + (System.currentTimeMillis() - start));
    }
}

